# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class AzAndNetConfig(object):

    def __init__(self, azId=None, vpcId=None, subnetId=None):
        """
        :param azId: (Optional) 可用区，可选目的端实例的主节点可用区、或目的端实例的从节点可用区，空表示使用目的端实例的主节点可用区
        :param vpcId: (Optional) vpc ID，必须与目的端实例所在vpc保持一致，否则网络不通，空表示使用目的端实例vpc
        :param subnetId: (Optional) subnet ID，可以与目的端实例所在子网保持一致，如果该子网IP不足可选其他相通的子网，空表示使用目的端实例子网
        """

        self.azId = azId
        self.vpcId = vpcId
        self.subnetId = subnetId
